package com.hrt.bean;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class ResourceType {

	/**
	 * 产品
	 */
	public static final Integer PRODUCT_RESOURCE=1;
	
	/**
	 * 礼品
	 */
	public static final Integer GIFT_RESOURCE=2;
	
	
	protected static List<Map<String,Object>> reType;


	public static List<Map<String, Object>> getReType() {
		reType=new ArrayList<Map<String, Object>>();
		Map<String, Object> res_gift=new HashMap<String, Object>();
		res_gift.put("key", GIFT_RESOURCE);
		res_gift.put("val", "礼品");
		
		Map<String, Object> res_product=new HashMap<String, Object>();
		res_product.put("key", PRODUCT_RESOURCE);
		res_product.put("val","产品" );
		reType.add(res_product);
		reType.add(res_gift);
		return reType;
	}


	public static void setReType(List<Map<String, Object>> reType) {
		ResourceType.reType = reType;
	}
	
	
	
}
